 package com.hs.srm.common.utils;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Component
public class ConsumerUtil {

    @JmsListener(destination = "test.queue1")
    public void listen(String text){
        System.out.println("<<<========= 收到消息" + text);
    }
}
